﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ResPackDataSet" targetNamespace="http://tempuri.org/ResPackDataSet.xsd" xmlns:mstns="http://tempuri.org/ResPackDataSet.xsd" xmlns="http://tempuri.org/ResPackDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ResPackConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ResPackConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ResPackClient.Properties.Settings.GlobalReference.Default.ResPackConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbResourceTableAdapter" GeneratorDataComponentClassName="tbResourceTableAdapter" Name="tbResource" UserDataComponentName="tbResourceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ResPackConnectionString (Settings)" DbObjectName="tbResource" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tbResource] WHERE (([PK_ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbResource] ([FK_TYPE], [FK_WORKSPACE], [name], [raw_size], [description]) VALUES (@p1, @p2, @p3, @p4, @p5)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_WORKSPACE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="raw_size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [PK_ID], [FK_TYPE], [FK_WORKSPACE], [name], [raw_size], [description] FROM [tbResource]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbResource] SET [FK_TYPE] = @p1, [FK_WORKSPACE] = @p2, [name] = @p3, [raw_size] = @p4, [description] = @p5 WHERE (([PK_ID] = @p6))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_WORKSPACE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="raw_size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PK_ID" DataSetColumn="PK_ID" />
              <Mapping SourceColumn="FK_TYPE" DataSetColumn="FK_TYPE" />
              <Mapping SourceColumn="FK_WORKSPACE" DataSetColumn="FK_WORKSPACE" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
              <Mapping SourceColumn="raw_size" DataSetColumn="raw_size" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbResourceFamiliesTableAdapter" GeneratorDataComponentClassName="tbResourceFamiliesTableAdapter" Name="tbResourceFamilies" UserDataComponentName="tbResourceFamiliesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ResPackConnectionString (Settings)" DbObjectName="tbResourceFamilies" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tbResourceFamilies] WHERE (([PK_ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbResourceFamilies] ([name], [description]) VALUES (@p1, @p2)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [PK_ID], [name], [description] FROM [tbResourceFamilies]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbResourceFamilies] SET [name] = @p1, [description] = @p2 WHERE (([PK_ID] = @p3))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PK_ID" DataSetColumn="PK_ID" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbResourceTypesTableAdapter" GeneratorDataComponentClassName="tbResourceTypesTableAdapter" Name="tbResourceTypes" UserDataComponentName="tbResourceTypesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ResPackConnectionString (Settings)" DbObjectName="tbResourceTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tbResourceTypes] WHERE (([PK_ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbResourceTypes] ([FK_FAMILY], [name], [magic_word], [file_ext], [header_size], [description]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_FAMILY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="magic_word" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="file_ext" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="header_size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [PK_ID], [FK_FAMILY], [name], [magic_word], [file_ext], [header_size], [description] FROM [tbResourceTypes]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbResourceTypes] SET [FK_FAMILY] = @p1, [name] = @p2, [magic_word] = @p3, [file_ext] = @p4, [header_size] = @p5, [description] = @p6 WHERE (([PK_ID] = @p7))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FK_FAMILY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="magic_word" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="file_ext" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="header_size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PK_ID" DataSetColumn="PK_ID" />
              <Mapping SourceColumn="FK_FAMILY" DataSetColumn="FK_FAMILY" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
              <Mapping SourceColumn="magic_word" DataSetColumn="magic_word" />
              <Mapping SourceColumn="file_ext" DataSetColumn="file_ext" />
              <Mapping SourceColumn="header_size" DataSetColumn="header_size" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbWorkSpaceTableAdapter" GeneratorDataComponentClassName="tbWorkSpaceTableAdapter" Name="tbWorkSpace" UserDataComponentName="tbWorkSpaceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ResPackConnectionString (Settings)" DbObjectName="tbWorkSpace" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [tbWorkSpace] WHERE (([PK_ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbWorkSpace] ([name]) VALUES (@p1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [PK_ID], [name] FROM [tbWorkSpace]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbWorkSpace] SET [name] = @p1 WHERE (([PK_ID] = @p2))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PK_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PK_ID" DataSetColumn="PK_ID" />
              <Mapping SourceColumn="name" DataSetColumn="name" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ResPackDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="ResPackDataSet" msprop:Generator_UserDSName="ResPackDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tbResource" msprop:Generator_UserTableName="tbResource" msprop:Generator_RowDeletedName="tbResourceRowDeleted" msprop:Generator_TableClassName="tbResourceDataTable" msprop:Generator_RowChangedName="tbResourceRowChanged" msprop:Generator_RowClassName="tbResourceRow" msprop:Generator_RowChangingName="tbResourceRowChanging" msprop:Generator_RowEvArgName="tbResourceRowChangeEvent" msprop:Generator_RowEvHandlerName="tbResourceRowChangeEventHandler" msprop:Generator_TablePropName="tbResource" msprop:Generator_TableVarName="tabletbResource" msprop:Generator_RowDeletingName="tbResourceRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PK_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PK_ID" msprop:Generator_ColumnPropNameInRow="PK_ID" msprop:Generator_ColumnVarNameInTable="columnPK_ID" msprop:Generator_ColumnPropNameInTable="PK_IDColumn" type="xs:int" />
              <xs:element name="FK_TYPE" msprop:Generator_UserColumnName="FK_TYPE" msprop:Generator_ColumnPropNameInRow="FK_TYPE" msprop:Generator_ColumnVarNameInTable="columnFK_TYPE" msprop:Generator_ColumnPropNameInTable="FK_TYPEColumn" type="xs:int" />
              <xs:element name="FK_WORKSPACE" msprop:Generator_UserColumnName="FK_WORKSPACE" msprop:Generator_ColumnPropNameInRow="FK_WORKSPACE" msprop:Generator_ColumnVarNameInTable="columnFK_WORKSPACE" msprop:Generator_ColumnPropNameInTable="FK_WORKSPACEColumn" type="xs:int" />
              <xs:element name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="raw_size" msprop:Generator_UserColumnName="raw_size" msprop:Generator_ColumnPropNameInRow="raw_size" msprop:Generator_ColumnVarNameInTable="columnraw_size" msprop:Generator_ColumnPropNameInTable="raw_sizeColumn" type="xs:int" />
              <xs:element name="description" msprop:Generator_UserColumnName="description" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInTable="descriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbResourceFamilies" msprop:Generator_UserTableName="tbResourceFamilies" msprop:Generator_RowDeletedName="tbResourceFamiliesRowDeleted" msprop:Generator_TableClassName="tbResourceFamiliesDataTable" msprop:Generator_RowChangedName="tbResourceFamiliesRowChanged" msprop:Generator_RowClassName="tbResourceFamiliesRow" msprop:Generator_RowChangingName="tbResourceFamiliesRowChanging" msprop:Generator_RowEvArgName="tbResourceFamiliesRowChangeEvent" msprop:Generator_RowEvHandlerName="tbResourceFamiliesRowChangeEventHandler" msprop:Generator_TablePropName="tbResourceFamilies" msprop:Generator_TableVarName="tabletbResourceFamilies" msprop:Generator_RowDeletingName="tbResourceFamiliesRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PK_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PK_ID" msprop:Generator_ColumnPropNameInRow="PK_ID" msprop:Generator_ColumnVarNameInTable="columnPK_ID" msprop:Generator_ColumnPropNameInTable="PK_IDColumn" type="xs:int" />
              <xs:element name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="description" msprop:Generator_UserColumnName="description" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInTable="descriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbResourceTypes" msprop:Generator_UserTableName="tbResourceTypes" msprop:Generator_RowDeletedName="tbResourceTypesRowDeleted" msprop:Generator_TableClassName="tbResourceTypesDataTable" msprop:Generator_RowChangedName="tbResourceTypesRowChanged" msprop:Generator_RowClassName="tbResourceTypesRow" msprop:Generator_RowChangingName="tbResourceTypesRowChanging" msprop:Generator_RowEvArgName="tbResourceTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="tbResourceTypesRowChangeEventHandler" msprop:Generator_TablePropName="tbResourceTypes" msprop:Generator_TableVarName="tabletbResourceTypes" msprop:Generator_RowDeletingName="tbResourceTypesRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PK_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PK_ID" msprop:Generator_ColumnPropNameInRow="PK_ID" msprop:Generator_ColumnVarNameInTable="columnPK_ID" msprop:Generator_ColumnPropNameInTable="PK_IDColumn" type="xs:int" />
              <xs:element name="FK_FAMILY" msprop:Generator_UserColumnName="FK_FAMILY" msprop:Generator_ColumnPropNameInRow="FK_FAMILY" msprop:Generator_ColumnVarNameInTable="columnFK_FAMILY" msprop:Generator_ColumnPropNameInTable="FK_FAMILYColumn" type="xs:int" />
              <xs:element name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="magic_word" msprop:Generator_UserColumnName="magic_word" msprop:Generator_ColumnPropNameInRow="magic_word" msprop:Generator_ColumnVarNameInTable="columnmagic_word" msprop:Generator_ColumnPropNameInTable="magic_wordColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="file_ext" msprop:Generator_UserColumnName="file_ext" msprop:Generator_ColumnPropNameInRow="file_ext" msprop:Generator_ColumnVarNameInTable="columnfile_ext" msprop:Generator_ColumnPropNameInTable="file_extColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="header_size" msprop:Generator_UserColumnName="header_size" msprop:Generator_ColumnPropNameInRow="header_size" msprop:Generator_ColumnVarNameInTable="columnheader_size" msprop:Generator_ColumnPropNameInTable="header_sizeColumn" type="xs:int" />
              <xs:element name="description" msprop:Generator_UserColumnName="description" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInTable="descriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbWorkSpace" msprop:Generator_UserTableName="tbWorkSpace" msprop:Generator_RowDeletedName="tbWorkSpaceRowDeleted" msprop:Generator_TableClassName="tbWorkSpaceDataTable" msprop:Generator_RowChangedName="tbWorkSpaceRowChanged" msprop:Generator_RowClassName="tbWorkSpaceRow" msprop:Generator_RowChangingName="tbWorkSpaceRowChanging" msprop:Generator_RowEvArgName="tbWorkSpaceRowChangeEvent" msprop:Generator_RowEvHandlerName="tbWorkSpaceRowChangeEventHandler" msprop:Generator_TablePropName="tbWorkSpace" msprop:Generator_TableVarName="tabletbWorkSpace" msprop:Generator_RowDeletingName="tbWorkSpaceRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PK_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PK_ID" msprop:Generator_ColumnPropNameInRow="PK_ID" msprop:Generator_ColumnVarNameInTable="columnPK_ID" msprop:Generator_ColumnPropNameInTable="PK_IDColumn" type="xs:int" />
              <xs:element name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbResource" />
      <xs:field xpath="mstns:PK_ID" />
    </xs:unique>
    <xs:unique name="tbResourceFamilies_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbResourceFamilies" />
      <xs:field xpath="mstns:PK_ID" />
    </xs:unique>
    <xs:unique name="tbResourceTypes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbResourceTypes" />
      <xs:field xpath="mstns:PK_ID" />
    </xs:unique>
    <xs:unique name="tbWorkSpace_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbWorkSpace" />
      <xs:field xpath="mstns:PK_ID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK__tbResource__0000000000000044" msdata:parent="tbResourceTypes" msdata:child="tbResource" msdata:parentkey="PK_ID" msdata:childkey="FK_TYPE" msprop:Generator_UserRelationName="FK__tbResource__0000000000000044" msprop:Generator_RelationVarName="relationFK__tbResource__0000000000000044" msprop:Generator_UserChildTable="tbResource" msprop:Generator_UserParentTable="tbResourceTypes" msprop:Generator_ParentPropName="tbResourceTypesRow" msprop:Generator_ChildPropName="GettbResourceRows" />
      <msdata:Relationship name="FK__tbResource__0000000000000048" msdata:parent="tbWorkSpace" msdata:child="tbResource" msdata:parentkey="PK_ID" msdata:childkey="FK_WORKSPACE" msprop:Generator_UserRelationName="FK__tbResource__0000000000000048" msprop:Generator_RelationVarName="relationFK__tbResource__0000000000000048" msprop:Generator_UserChildTable="tbResource" msprop:Generator_UserParentTable="tbWorkSpace" msprop:Generator_ParentPropName="tbWorkSpaceRow" msprop:Generator_ChildPropName="GettbResourceRows" />
      <msdata:Relationship name="FK__tbResourceTypes__0000000000000024" msdata:parent="tbResourceFamilies" msdata:child="tbResourceTypes" msdata:parentkey="PK_ID" msdata:childkey="FK_FAMILY" msprop:Generator_UserRelationName="FK__tbResourceTypes__0000000000000024" msprop:Generator_RelationVarName="relationFK__tbResourceTypes__0000000000000024" msprop:Generator_UserChildTable="tbResourceTypes" msprop:Generator_UserParentTable="tbResourceFamilies" msprop:Generator_ParentPropName="tbResourceFamiliesRow" msprop:Generator_ChildPropName="GettbResourceTypesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>